package model

type PictureType struct {
	BaseModel
	Name string `json:"name" gorm:"type:varchar(20);not null;default:'';comment:图片类型名称"`
	Sort int    `json:"sort" gorm:"type:tinyint(3);not null;default:1;comment:排名索引"`
}

type PictureTypePatientRes struct {
	BaseModel
	Name     string    `json:"name"`
	Sort     int       `json:"sort"`
	Pictures []Picture `json:"pictures"`
}
